<?php

namespace App\Http\Controllers\user;

use App\Dao\CategoryDao;
use App\Http\Controllers\admin\BaseController;
use App\Services\Code;

class CategorysController extends BaseController
{
    public function categorys(): array
    {
        $params = request()->all();
        $params['show'] = 1;
        return Code::message('',200,CategoryDao::categorysWithNotPage($params));
    }
}
